import Vuex from 'vuex'
import Vue from 'vue'
import user from '@/vuex/modules/user'
import permission from "@/vuex/modules/permission";
import sys from '@/vuex/modules/sys'

Vue.use(Vuex)

const state = {
    // 存数据
}

const actions = {

}

const mutations = {

}

const getters = {

}

export default new Vuex.Store({
    state,
    actions,
    mutations,
    getters,
    modules:{
        user,
        permission,
        sys
    }
});
